<section id="comments" class="comment-wrapper">
    <h3 class="title">Comentários</h3>
    <div class="comments-content">
        <?php
        $coments = $post->get_comentarios();
        
        if (count($coments) > 0){
            foreach ($coments as $coment) {
                include __DIR__ . DIRECTORY_SEPARATOR . 'replica.php';
            }
        } else {
            echo "<div>Nenhum comentário foi adicionado</div>";
        }
        
        ?>
    </div>
        <?php include __DIR__ . DIRECTORY_SEPARATOR . 'novo_comentario.php' ?>
</section>